<!doctype html>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="css/imgareaselect-default.css" />
<link rel="stylesheet" type="text/css" href="css/project.css" />


</head>

<body style="background:none;">
<div style="text-align:center;">
	<div class="container" id="container">
			<div class="img_box">
				<a href="javascript:void(0)" onclick="shade_layer_close()" class="img_box_close"></a>
				<p>缩略图：由系统自动生成，</p>
				<div class="img_thumb"><img id="thumb" /></div>
				<p>预览图：通过鼠标截取你想要的部分，<span style="color:#F2E593">双击保存</span><a href="javascript:void(0)" onclick="code.createImg();" class="btn btn_normal"><span>重新生成</span></a></p>
				<div class="img"><img id="photo" /></div><BR>
				
			</div>
			<div class="img_button">
				<!--<a href="javascript:void(0)" onclick="code.adjustImg();" class="btn btn_normal"><span>保存</span></a>-->
				
				<!--<a href="javascript:void(0)" onclick="shade_layer_close();" class="btn btn_normal"><span>关闭</span></a>-->
			</div>
	</div>
</div>
	
	
</body>

<script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="js/jquery.imgareaselect.js" type="text/javascript"></script>
<script src="js/public.js" type="text/javascript"></script>
<script src="js/functions.js" type="text/javascript"></script>
<script src="js/code.js" type="text/javascript"></script>

<script type="text/javascript">
iframe_flag=false;

$(document).ready(function () {
	code.getinfoImg();
});
		
var x=y=w=h=0;
function preview(img, selection) {
    if (!selection.width || !selection.height)
        return;
	x=selection.x1;
	y=selection.y1;
	w=selection.width;
	h=selection.height;
}

function shade_layer_close(){
	parent.$("#shade_layer").hide();
	parent.code.showlist();
}
</script>

</html>